Optimal. Leaf size=292 \[ \frac{d x \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{\sqrt{a+b x^n+c x^{2 n}}}+\frac{e x^{n+1} \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1} F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{(n+1) \sqrt{a+b x^n+c x^{2 n}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.338118, antiderivative size = 292, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.192, Rules used = {1432, 1348, 429, 1385, 510} \[ \frac{d x \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1} F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{\sqrt{a+b x^n+c x^{2 n}}}+\frac{e x^{n+1} \sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1} F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{(n+1) \sqrt{a+b x^n+c x^{2 n}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1432
Rule 1348
Rule 429
Rule 1385
Rule 510
Rubi steps
\begin{align*} \int \frac{d+e x^n}{\sqrt{a+b x^n+c x^{2 n}}} \, dx &=\int \left (\frac{d}{\sqrt{a+b x^n+c x^{2 n}}}+\frac{e x^n}{\sqrt{a+b x^n+c x^{2 n}}}\right ) \, dx\\ &=d \int \frac{1}{\sqrt{a+b x^n+c x^{2 n}}} \, dx+e \int \frac{x^n}{\sqrt{a+b x^n+c x^{2 n}}} \, dx\\ &=\frac{\left (d \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}\right ) \int \frac{1}{\sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}} \, dx}{\sqrt{a+b x^n+c x^{2 n}}}+\frac{\left (e \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}\right ) \int \frac{x^n}{\sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}}} \, dx}{\sqrt{a+b x^n+c x^{2 n}}}\\ &=\frac{e x^{1+n} \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}} F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{(1+n) \sqrt{a+b x^n+c x^{2 n}}}+\frac{d x \sqrt{1+\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{1+\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}} F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{\sqrt{a+b x^n+c x^{2 n}}}\\ \end{align*}
Mathematica [A] time = 0.348705, size = 245, normalized size = 0.84 \[ \frac{x \sqrt{\frac{-\sqrt{b^2-4 a c}+b+2 c x^n}{b-\sqrt{b^2-4 a c}}} \sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x^n}{\sqrt{b^2-4 a c}+b}} \left (d (n+1) F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+e x^n F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )\right )}{(n+1) \sqrt{a+x^n \left (b+c x^n\right )}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.018, size = 0, normalized size = 0. \begin{align*} \int{(d+e{x}^{n}){\frac{1}{\sqrt{a+b{x}^{n}+c{x}^{2\,n}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e x^{n} + d}{\sqrt{c x^{2 \, n} + b x^{n} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d + e x^{n}}{\sqrt{a + b x^{n} + c x^{2 n}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e x^{n} + d}{\sqrt{c x^{2 \, n} + b x^{n} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]